home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19941221-19950208 / 000459_news@columbia.edu_Sun Feb 8 04:16:15 1995.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA11692
  2.   (5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Wed, 8 Feb 1995 00:37:01 -0500
  3. Received: by apakabar.cc.columbia.edu id AA12612
  4.   (5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Wed, 8 Feb 1995 00:36:59 -0500
  5. Path: news.columbia.edu!sol.ctr.columbia.edu!howland.reston.ans.net!vixen.cso.uiuc.edu!usenet.ucs.indiana.edu!indyvax.iupui.edu!harvey
  6. From: harvey@indyvax.iupui.edu (James Harvey)
  7. Newsgroups: comp.protocols.kermit.misc
  8. Subject: Re: Getting back to C-Kermit command level when using a command file
  9. Message-Id: <1995Feb7.231615.12294@ivax>
  10. Date: 7 Feb 95 23:16:15 -0500
  11. References: <1995Feb4.022222.12173@ivax> <3h0d6h$pfo@apakabar.cc.columbia.edu>
  12. Organization: Indiana University-Purdue University at Indianapolis
  13. Lines: 45
  14. Apparently-To: kermit.misc@watsun.cc.columbia.edu
  15.  
  16. In article <3h0d6h$pfo@apakabar.cc.columbia.edu>, fdc@watsun.cc.columbia.edu (Frank da Cruz) writes:
  17. > In article <1995Feb4.022222.12173@ivax>,
  18. > James Harvey <harvey@indyvax.iupui.edu> wrote:
  19. >>I have a question about C-Kermit 5A(190) on a VAX.  We use this to
  20. >>provide dialout services under a menu system using a C-Kermit command file.
  21. >>The command file is passed the number to dial on the command line like
  22. >>this:
  23. >>
  24. >>$ CKERMIT dialing-command-file -Y = number-to-call
  25. >>
  26. > I think that should be:
  27. >
  28. > $ CKERMIT dialing-command-file "-Y" = number-to-call
  29. >
  30. > VMS lowercases your command-line options unless you enclose them in
  31. > quotes.  If it worked for you without quotes, it's an accident :-)
  32.  
  33. You're right of course.  I had overlooked the doublequotes, which caused
  34. the command to work as long as there was an exit command in the command
  35. file.  When I tried to take it out, I would get a command syntax error
  36. (correctly because of the missing filespec argument to the unquoted -Y
  37. option which was now really a -y option).  I should have mentioned that,
  38. but I thought it was unrelated (yes, I should know better :)
  39.  
  40.     [snip]
  41. >
  42. > I don't think the "-S" should be necessary, though.  When you invoke a
  43. > command file by giving its name as the first command-line argument, this
  44. > should not cause an automatic exit.  (Of course, Kermit will exit if the
  45. > command file contains an EXIT or QUIT command.)  So any of the following
  46. > should work:
  47. >
  48. > $ CKERMIT dialing-command-file "-Y" = number-to-call
  49. >
  50. > $ CKERMIT -y dialing-command-file = number-to-call
  51.  
  52. Yes, this works perfectly.  Thanks!
  53.  
  54. P.S.: Nice work on 5A(190).  I like the bugfix for flow control on the
  55. console (edit 061 to ckvtio.c).  Now I can toss my last patch! (well,
  56. except for our wacky custom modem-dialer code)
  57. --
  58. James Harvey   harvey@iupui.edu   IUPUI IT Networks and Systems
  59. Disclaimer:  These are my own opinions.  I do not speak for Indiana University.
  60. I spilt spot remover on my dog and now he's gone.